import http from "@/common/request.js";
// 登录
export const login = (url,method, data) => {
	return http({
		url: '/api/login' + url
	}, method,data)
}

// 设备列表
export const equip = (url,method, data) => {
	return http({
		url: '/api/routineChargingCabinet' + url
	}, method,data)
}

// 开仓 操作
export const control = (url,method, data) => {
	return http({
		url: '/api/control' + url
	}, method,data)
}
export const charging = (url,method, data) => {
	return http({
		url: '/api/business' + url
	}, method,data)
}
// 资费模板
export const chargeTmpl = (url,method, data) => {
	return http({
		url: '/api/ChargeTmplController' + url
	}, method,data)
}
// 参数下发
export const listParameterSending = (url, method, data) => {
  return http({
    url: '/api/equipment' + url
  }, method, data)
}
// 用户信息
export const synchroUserinfo = (url, method, data) => {
  return http({
    url: '/api/power' + url
  }, method, data)
}
export const enums = (url,method, data) => {
  return http({
    url: '/api/enum' + url
  }, method, data)
}
// 是否私有 收费类型
export const chargeCabint = (url, method, data) => {
  return http({
    url: '/api/chargingCabinet' + url
  }, method, data)
}
